<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <#include "/pubHeadStyle.html">
    <script src="${ctx}/extends/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<div id="content">

</div>
<script>
    var paramStr = '${paramStr}';
    layui.config({
        base: serverPath.formPath + staticPath.formPath //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index', 'setter', 'commons','jquery'], function () {
        var setter = layui.setter;
        var commons = layui.commons;
        var $ = layui.jquery;
            $.ajax({
                url: serverPath.formPath + setter.formLinkPath + 'dataTemplate/dataList',
                dataType: 'json',
                type:"post",
                data:{"paramStr":paramStr,"alias":'${formKey}'},
                success: function (result) {
                    if (commons._filterRecord(result)) {
                        $("#content").append(result.data);
                    } else {
                        window.parent.layer.alert(result.msg);
                    }
                },
                error: function (XMLHttpRequest, textStatus, errorThrown) {
                    layer.alert("预览失败！" + XMLHttpRequest.status);
                }
            });

    })
</script>
</body>
</html>
<link rel="stylesheet" href="${ctx}/css/font/iconfontie.css" media="all"/>
<link rel="stylesheet" href="${ctx}/iconfont/iconfont.css"/>